export default class Point {
  constructor(x = 10, y = 100) {
    this.x = x;
    this.y = y;
  }

  add(x = 3, y = 2) {
    this.x += x;
    this.y += y;
  }

  toString() {
    return `(${this.x}, ${this.y})`;
  }
}